package com.koron.order.linepatrol.base.bean.po;


import com.koron.bean.base.BaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 巡视工单-巡视点从表(PatrolPoint)实体类
 *
 * @author zhouj
 * @since 2021-10-27 11:38:17
 */
@Data
@ApiModel("巡视工单-巡视点从表")
public class PatrolPointPo extends BaseBean implements Serializable {

    @ApiModelProperty(value = "巡视工单id")
    private String patrolId;

    @ApiModelProperty(value = "巡视点id")
    private String planPatrolPointId;

    @ApiModelProperty("RFID编号")
    private String rfidCode;

    @ApiModelProperty("巡视点编码")
    private String code;

    @ApiModelProperty(value = "巡视点名称")
    private String name;

    @ApiModelProperty(value = "巡视状态")
    private String status;

    @ApiModelProperty(value = "实际巡视人")
    private String worker;

    @ApiModelProperty(value = "实际巡视人")
    private String workerName;

    @ApiModelProperty(value = "巡视时间")
    private Date workTime;

    @ApiModelProperty(value = "经度")
    private String longitude;

    @ApiModelProperty(value = "纬度")
    private String latitude;

    @ApiModelProperty(value = "有效范围(米)")
    private Integer range;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "环境确认结果，这里作为不巡视状态")
    private Integer envStatus;

    @ApiModelProperty(value = "环境备注")
    private String envRemarks;

    @ApiModelProperty(value = "签到状态")
    private Integer arriveStatus;

    @ApiModelProperty(value = "签到时间")
    private Date arriveTime;

    @ApiModelProperty(value = "签到方式")
    private String arriveWay;

    @ApiModelProperty(value = "签到备注")
    private String arriveRemarks;

    @ApiModelProperty(value = "序号")
    private Integer sort;

    @ApiModelProperty("巡视点类型 设备间，设备（无巡视环境）")
    private String patrolPointType;

    @ApiModelProperty("移动端巡视后,根据此字段判断该巡视点是否需要更新")
    private Boolean needUpdate = false;


    /**
     * 线路id
     */
    @ApiModelProperty("线路id")
    private String parentId;

    /**
     * 线路名称
     */
    @ApiModelProperty("线路名称")
    private String parentName;

    /**
     * 巡视点类型 line_point_category 设备 风险
     */
    @ApiModelProperty("巡视点类型 line_point_category 设备 风险")
    private String category;

    /**
     * 简称
     */
    @ApiModelProperty("简称")
    private String shortName;

}
